﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARS.Control.Custom.Entity.Fields;

namespace ARS.Control.Custom.Entity.Model
{
    /// <summary>
	/// ARS_Control_DbSelectAll_Attr:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class ARS_Control_DbSelectAll_Attr
	{
		public ARS_Control_DbSelectAll_Attr()
		{}
		#region Model
		private int _ars_control_dbselectall_attr_id;
		private string _tablename;
		private string _selectfields;
		private string _orderfield;
		private string _strwhere;
		private string _key;
		/// <summary>
		/// 
		/// </summary>
		[KeyField()]
        public int ARS_Control_DbSelectAll_Attr_Id
		{
			set{ _ars_control_dbselectall_attr_id=value;}
			get{return _ars_control_dbselectall_attr_id;}
		}
		/// <summary>
		/// 
		/// </summary>
		[CharField(Verbose_Name="表名",IsAllowBlank=false)]
        public string TableName
		{
			set{ _tablename=value;}
			get{return _tablename;}
		}
		/// <summary>
		/// 
		/// </summary>
        [CharField(Verbose_Name = "查询字段",DefaultValue="*", IsAllowBlank = false)]
        public string SelectFields
		{
			set{ _selectfields=value;}
			get{return _selectfields;}
		}
		/// <summary>
		/// 
		/// </summary>
        [CharField(Verbose_Name = "排序字段")]
        public string OrderField
		{
			set{ _orderfield=value;}
			get{return _orderfield;}
		}
		/// <summary>
		/// 
		/// </summary>
        [CharField(Verbose_Name = "查询条件",DefaultValue="1=1", IsAllowBlank = false)]
        public string StrWhere
		{
			set{ _strwhere=value;}
			get{return _strwhere;}
		}
		/// <summary>
		/// 
		/// </summary>
        [CharField(Verbose_Name = "主键",DefaultValue="Id", IsAllowBlank = false)]
        public string KeyField
		{
			set{ _key=value;}
			get{return _key;}
		}
		#endregion Model

	}
}
